﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
    public class ProductSizeService
    {
        private readonly ProductSizeController _productSizeController = new ProductSizeController();

        #region [ProductSize_GetByAll]

        public DataTable ProductSize_GetByAll()
        {
            return _productSizeController.ProductSize_GetByAll();
        }

        #endregion

        #region [ProductSize_GetById]

        public DataTable ProductSize_GetById(int id)
        {
            return _productSizeController.ProductSize_GetById(id);
        }

        #endregion

        #region [ProductSize_GetByProductId]

        public DataTable ProductSize_GetByProductId(string iProductId)
        {
            return _productSizeController.ProductSize_GetByProductId(iProductId);
        }

        #endregion
    }
}